package com.stylefeng.guns.modular.flagglory.service;

import com.stylefeng.guns.common.persistence.model.Book;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-02-05
 */
public interface IBookService extends IService<Book> {
    List<Map<String, Object>> selectChaptersByBookId(Integer bookId);

    Map<String, Object> selectNextOrBeforeChapter(Boolean isNext,Integer sort,Integer bookId);
}
